import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueI18n from 'vue-i18n';

Vue.config.productionTip = false
Vue.use(ElementUI);
Vue.use(VueI18n);

const i18n = new VueI18n({
  locale: 'zh-CN', // 语言标识
  messages: {
    'zh-CN': require('./assets/common/cn'), // 中文语言包
    'zh-EN': require('./assets/common/en'), // 英文语言包
    'zh-FA': require('./assets/common/fa'), // 法语语言包
    'zh-FT': require('./assets/common/ft') // 繁体字语言包
  }
});

new Vue({
  router,
  i18n,
  render: function (h) { return h(App) }
}).$mount('#app')
